package com.example.othree.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.othree.entity.Drone;
import com.example.othree.entity.Drone2;
import com.example.othree.entity.DroneCount;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.othree.entity.FlightDataCount;


import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface Drone2Service extends IService<Drone2> {
    Page<Drone2> getPage(int page, int pageSie);

    ArrayList<Drone2> getDataById(Integer id);

    IPage<Drone2> PageList(Page<Drone2> page, LambdaQueryWrapper<Drone2> lambdaQueryWrapper);

    List<FlightDataCount> getFlightDataCountByEquipmentName(String equipmentName);

    List<Drone2> getEquipmentByCondition(String equipmentName, String detectionDate, Integer times);
}
